import { Column, Entity } from 'typeorm'
import { SoftCompleteEntity } from '~/common/entity/common.entity'

@Entity({ name: 'c_sub_plan_task' })
export class SubPlanTaskEntity extends SoftCompleteEntity {
  @Column({ name: 'sub_plan_id' })
  subPlanId: string

  @Column({ name: 'task_id' })
  taskId: string

  @Column({ name: 'sort' })
  sort: number
}
